import ReactDOM from 'react-dom';
import { App, AppProps } from './components/App';

export function startUp(el: Element, props?: AppProps) {
  return el && ReactDOM.render(<App {...(props || {})}/>, el);
}

